package com.zhongwang.mms.gen.entity;


import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class HInventoryExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public HInventoryExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andItyIdIsNull() {
            addCriterion("ity_id is null");
            return (Criteria) this;
        }

        public Criteria andItyIdIsNotNull() {
            addCriterion("ity_id is not null");
            return (Criteria) this;
        }

        public Criteria andItyIdEqualTo(Integer value) {
            addCriterion("ity_id =", value, "ityId");
            return (Criteria) this;
        }

        public Criteria andItyIdNotEqualTo(Integer value) {
            addCriterion("ity_id <>", value, "ityId");
            return (Criteria) this;
        }

        public Criteria andItyIdGreaterThan(Integer value) {
            addCriterion("ity_id >", value, "ityId");
            return (Criteria) this;
        }

        public Criteria andItyIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("ity_id >=", value, "ityId");
            return (Criteria) this;
        }

        public Criteria andItyIdLessThan(Integer value) {
            addCriterion("ity_id <", value, "ityId");
            return (Criteria) this;
        }

        public Criteria andItyIdLessThanOrEqualTo(Integer value) {
            addCriterion("ity_id <=", value, "ityId");
            return (Criteria) this;
        }

        public Criteria andItyIdIn(List<Integer> values) {
            addCriterion("ity_id in", values, "ityId");
            return (Criteria) this;
        }

        public Criteria andItyIdNotIn(List<Integer> values) {
            addCriterion("ity_id not in", values, "ityId");
            return (Criteria) this;
        }

        public Criteria andItyIdBetween(Integer value1, Integer value2) {
            addCriterion("ity_id between", value1, value2, "ityId");
            return (Criteria) this;
        }

        public Criteria andItyIdNotBetween(Integer value1, Integer value2) {
            addCriterion("ity_id not between", value1, value2, "ityId");
            return (Criteria) this;
        }

        public Criteria andItyMatCodeIsNull() {
            addCriterion("ity_mat_code is null");
            return (Criteria) this;
        }

        public Criteria andItyMatCodeIsNotNull() {
            addCriterion("ity_mat_code is not null");
            return (Criteria) this;
        }

        public Criteria andItyMatCodeEqualTo(String value) {
            addCriterion("ity_mat_code =", value, "ityMatCode");
            return (Criteria) this;
        }

        public Criteria andItyMatCodeNotEqualTo(String value) {
            addCriterion("ity_mat_code <>", value, "ityMatCode");
            return (Criteria) this;
        }

        public Criteria andItyMatCodeGreaterThan(String value) {
            addCriterion("ity_mat_code >", value, "ityMatCode");
            return (Criteria) this;
        }

        public Criteria andItyMatCodeGreaterThanOrEqualTo(String value) {
            addCriterion("ity_mat_code >=", value, "ityMatCode");
            return (Criteria) this;
        }

        public Criteria andItyMatCodeLessThan(String value) {
            addCriterion("ity_mat_code <", value, "ityMatCode");
            return (Criteria) this;
        }

        public Criteria andItyMatCodeLessThanOrEqualTo(String value) {
            addCriterion("ity_mat_code <=", value, "ityMatCode");
            return (Criteria) this;
        }

        public Criteria andItyMatCodeLike(String value) {
            addCriterion("ity_mat_code like", value, "ityMatCode");
            return (Criteria) this;
        }

        public Criteria andItyMatCodeNotLike(String value) {
            addCriterion("ity_mat_code not like", value, "ityMatCode");
            return (Criteria) this;
        }

        public Criteria andItyMatCodeIn(List<String> values) {
            addCriterion("ity_mat_code in", values, "ityMatCode");
            return (Criteria) this;
        }

        public Criteria andItyMatCodeNotIn(List<String> values) {
            addCriterion("ity_mat_code not in", values, "ityMatCode");
            return (Criteria) this;
        }

        public Criteria andItyMatCodeBetween(String value1, String value2) {
            addCriterion("ity_mat_code between", value1, value2, "ityMatCode");
            return (Criteria) this;
        }

        public Criteria andItyMatCodeNotBetween(String value1, String value2) {
            addCriterion("ity_mat_code not between", value1, value2, "ityMatCode");
            return (Criteria) this;
        }

        public Criteria andItyMatNameIsNull() {
            addCriterion("ity_mat_name is null");
            return (Criteria) this;
        }

        public Criteria andItyMatNameIsNotNull() {
            addCriterion("ity_mat_name is not null");
            return (Criteria) this;
        }

        public Criteria andItyMatNameEqualTo(String value) {
            addCriterion("ity_mat_name =", value, "ityMatName");
            return (Criteria) this;
        }

        public Criteria andItyMatNameNotEqualTo(String value) {
            addCriterion("ity_mat_name <>", value, "ityMatName");
            return (Criteria) this;
        }

        public Criteria andItyMatNameGreaterThan(String value) {
            addCriterion("ity_mat_name >", value, "ityMatName");
            return (Criteria) this;
        }

        public Criteria andItyMatNameGreaterThanOrEqualTo(String value) {
            addCriterion("ity_mat_name >=", value, "ityMatName");
            return (Criteria) this;
        }

        public Criteria andItyMatNameLessThan(String value) {
            addCriterion("ity_mat_name <", value, "ityMatName");
            return (Criteria) this;
        }

        public Criteria andItyMatNameLessThanOrEqualTo(String value) {
            addCriterion("ity_mat_name <=", value, "ityMatName");
            return (Criteria) this;
        }

        public Criteria andItyMatNameLike(String value) {
            addCriterion("ity_mat_name like", value, "ityMatName");
            return (Criteria) this;
        }

        public Criteria andItyMatNameNotLike(String value) {
            addCriterion("ity_mat_name not like", value, "ityMatName");
            return (Criteria) this;
        }

        public Criteria andItyMatNameIn(List<String> values) {
            addCriterion("ity_mat_name in", values, "ityMatName");
            return (Criteria) this;
        }

        public Criteria andItyMatNameNotIn(List<String> values) {
            addCriterion("ity_mat_name not in", values, "ityMatName");
            return (Criteria) this;
        }

        public Criteria andItyMatNameBetween(String value1, String value2) {
            addCriterion("ity_mat_name between", value1, value2, "ityMatName");
            return (Criteria) this;
        }

        public Criteria andItyMatNameNotBetween(String value1, String value2) {
            addCriterion("ity_mat_name not between", value1, value2, "ityMatName");
            return (Criteria) this;
        }

        public Criteria andItyProCodeIsNull() {
            addCriterion("ity_pro_code is null");
            return (Criteria) this;
        }

        public Criteria andItyProCodeIsNotNull() {
            addCriterion("ity_pro_code is not null");
            return (Criteria) this;
        }

        public Criteria andItyProCodeEqualTo(String value) {
            addCriterion("ity_pro_code =", value, "ityProCode");
            return (Criteria) this;
        }

        public Criteria andItyProCodeNotEqualTo(String value) {
            addCriterion("ity_pro_code <>", value, "ityProCode");
            return (Criteria) this;
        }

        public Criteria andItyProCodeGreaterThan(String value) {
            addCriterion("ity_pro_code >", value, "ityProCode");
            return (Criteria) this;
        }

        public Criteria andItyProCodeGreaterThanOrEqualTo(String value) {
            addCriterion("ity_pro_code >=", value, "ityProCode");
            return (Criteria) this;
        }

        public Criteria andItyProCodeLessThan(String value) {
            addCriterion("ity_pro_code <", value, "ityProCode");
            return (Criteria) this;
        }

        public Criteria andItyProCodeLessThanOrEqualTo(String value) {
            addCriterion("ity_pro_code <=", value, "ityProCode");
            return (Criteria) this;
        }

        public Criteria andItyProCodeLike(String value) {
            addCriterion("ity_pro_code like", value, "ityProCode");
            return (Criteria) this;
        }

        public Criteria andItyProCodeNotLike(String value) {
            addCriterion("ity_pro_code not like", value, "ityProCode");
            return (Criteria) this;
        }

        public Criteria andItyProCodeIn(List<String> values) {
            addCriterion("ity_pro_code in", values, "ityProCode");
            return (Criteria) this;
        }

        public Criteria andItyProCodeNotIn(List<String> values) {
            addCriterion("ity_pro_code not in", values, "ityProCode");
            return (Criteria) this;
        }

        public Criteria andItyProCodeBetween(String value1, String value2) {
            addCriterion("ity_pro_code between", value1, value2, "ityProCode");
            return (Criteria) this;
        }

        public Criteria andItyProCodeNotBetween(String value1, String value2) {
            addCriterion("ity_pro_code not between", value1, value2, "ityProCode");
            return (Criteria) this;
        }

        public Criteria andItyProNameIsNull() {
            addCriterion("ity_pro_name is null");
            return (Criteria) this;
        }

        public Criteria andItyProNameIsNotNull() {
            addCriterion("ity_pro_name is not null");
            return (Criteria) this;
        }

        public Criteria andItyProNameEqualTo(String value) {
            addCriterion("ity_pro_name =", value, "ityProName");
            return (Criteria) this;
        }

        public Criteria andItyProNameNotEqualTo(String value) {
            addCriterion("ity_pro_name <>", value, "ityProName");
            return (Criteria) this;
        }

        public Criteria andItyProNameGreaterThan(String value) {
            addCriterion("ity_pro_name >", value, "ityProName");
            return (Criteria) this;
        }

        public Criteria andItyProNameGreaterThanOrEqualTo(String value) {
            addCriterion("ity_pro_name >=", value, "ityProName");
            return (Criteria) this;
        }

        public Criteria andItyProNameLessThan(String value) {
            addCriterion("ity_pro_name <", value, "ityProName");
            return (Criteria) this;
        }

        public Criteria andItyProNameLessThanOrEqualTo(String value) {
            addCriterion("ity_pro_name <=", value, "ityProName");
            return (Criteria) this;
        }

        public Criteria andItyProNameLike(String value) {
            addCriterion("ity_pro_name like", value, "ityProName");
            return (Criteria) this;
        }

        public Criteria andItyProNameNotLike(String value) {
            addCriterion("ity_pro_name not like", value, "ityProName");
            return (Criteria) this;
        }

        public Criteria andItyProNameIn(List<String> values) {
            addCriterion("ity_pro_name in", values, "ityProName");
            return (Criteria) this;
        }

        public Criteria andItyProNameNotIn(List<String> values) {
            addCriterion("ity_pro_name not in", values, "ityProName");
            return (Criteria) this;
        }

        public Criteria andItyProNameBetween(String value1, String value2) {
            addCriterion("ity_pro_name between", value1, value2, "ityProName");
            return (Criteria) this;
        }

        public Criteria andItyProNameNotBetween(String value1, String value2) {
            addCriterion("ity_pro_name not between", value1, value2, "ityProName");
            return (Criteria) this;
        }

        public Criteria andItyPartIsNull() {
            addCriterion("ity_part is null");
            return (Criteria) this;
        }

        public Criteria andItyPartIsNotNull() {
            addCriterion("ity_part is not null");
            return (Criteria) this;
        }

        public Criteria andItyPartEqualTo(String value) {
            addCriterion("ity_part =", value, "ityPart");
            return (Criteria) this;
        }

        public Criteria andItyPartNotEqualTo(String value) {
            addCriterion("ity_part <>", value, "ityPart");
            return (Criteria) this;
        }

        public Criteria andItyPartGreaterThan(String value) {
            addCriterion("ity_part >", value, "ityPart");
            return (Criteria) this;
        }

        public Criteria andItyPartGreaterThanOrEqualTo(String value) {
            addCriterion("ity_part >=", value, "ityPart");
            return (Criteria) this;
        }

        public Criteria andItyPartLessThan(String value) {
            addCriterion("ity_part <", value, "ityPart");
            return (Criteria) this;
        }

        public Criteria andItyPartLessThanOrEqualTo(String value) {
            addCriterion("ity_part <=", value, "ityPart");
            return (Criteria) this;
        }

        public Criteria andItyPartLike(String value) {
            addCriterion("ity_part like", value, "ityPart");
            return (Criteria) this;
        }

        public Criteria andItyPartNotLike(String value) {
            addCriterion("ity_part not like", value, "ityPart");
            return (Criteria) this;
        }

        public Criteria andItyPartIn(List<String> values) {
            addCriterion("ity_part in", values, "ityPart");
            return (Criteria) this;
        }

        public Criteria andItyPartNotIn(List<String> values) {
            addCriterion("ity_part not in", values, "ityPart");
            return (Criteria) this;
        }

        public Criteria andItyPartBetween(String value1, String value2) {
            addCriterion("ity_part between", value1, value2, "ityPart");
            return (Criteria) this;
        }

        public Criteria andItyPartNotBetween(String value1, String value2) {
            addCriterion("ity_part not between", value1, value2, "ityPart");
            return (Criteria) this;
        }

        public Criteria andItyNumIsNull() {
            addCriterion("ity_num is null");
            return (Criteria) this;
        }

        public Criteria andItyNumIsNotNull() {
            addCriterion("ity_num is not null");
            return (Criteria) this;
        }

        public Criteria andItyNumEqualTo(Double value) {
            addCriterion("ity_num =", value, "ityNum");
            return (Criteria) this;
        }

        public Criteria andItyNumNotEqualTo(Double value) {
            addCriterion("ity_num <>", value, "ityNum");
            return (Criteria) this;
        }

        public Criteria andItyNumGreaterThan(Double value) {
            addCriterion("ity_num >", value, "ityNum");
            return (Criteria) this;
        }

        public Criteria andItyNumGreaterThanOrEqualTo(Double value) {
            addCriterion("ity_num >=", value, "ityNum");
            return (Criteria) this;
        }

        public Criteria andItyNumLessThan(Double value) {
            addCriterion("ity_num <", value, "ityNum");
            return (Criteria) this;
        }

        public Criteria andItyNumLessThanOrEqualTo(Double value) {
            addCriterion("ity_num <=", value, "ityNum");
            return (Criteria) this;
        }

        public Criteria andItyNumIn(List<Double> values) {
            addCriterion("ity_num in", values, "ityNum");
            return (Criteria) this;
        }

        public Criteria andItyNumNotIn(List<Double> values) {
            addCriterion("ity_num not in", values, "ityNum");
            return (Criteria) this;
        }

        public Criteria andItyNumBetween(Double value1, Double value2) {
            addCriterion("ity_num between", value1, value2, "ityNum");
            return (Criteria) this;
        }

        public Criteria andItyNumNotBetween(Double value1, Double value2) {
            addCriterion("ity_num not between", value1, value2, "ityNum");
            return (Criteria) this;
        }

        public Criteria andItyAvaNumIsNull() {
            addCriterion("ity_ava_num is null");
            return (Criteria) this;
        }

        public Criteria andItyAvaNumIsNotNull() {
            addCriterion("ity_ava_num is not null");
            return (Criteria) this;
        }

        public Criteria andItyAvaNumEqualTo(Double value) {
            addCriterion("ity_ava_num =", value, "ityAvaNum");
            return (Criteria) this;
        }

        public Criteria andItyAvaNumNotEqualTo(Double value) {
            addCriterion("ity_ava_num <>", value, "ityAvaNum");
            return (Criteria) this;
        }

        public Criteria andItyAvaNumGreaterThan(Double value) {
            addCriterion("ity_ava_num >", value, "ityAvaNum");
            return (Criteria) this;
        }

        public Criteria andItyAvaNumGreaterThanOrEqualTo(Double value) {
            addCriterion("ity_ava_num >=", value, "ityAvaNum");
            return (Criteria) this;
        }

        public Criteria andItyAvaNumLessThan(Double value) {
            addCriterion("ity_ava_num <", value, "ityAvaNum");
            return (Criteria) this;
        }

        public Criteria andItyAvaNumLessThanOrEqualTo(Double value) {
            addCriterion("ity_ava_num <=", value, "ityAvaNum");
            return (Criteria) this;
        }

        public Criteria andItyAvaNumIn(List<Double> values) {
            addCriterion("ity_ava_num in", values, "ityAvaNum");
            return (Criteria) this;
        }

        public Criteria andItyAvaNumNotIn(List<Double> values) {
            addCriterion("ity_ava_num not in", values, "ityAvaNum");
            return (Criteria) this;
        }

        public Criteria andItyAvaNumBetween(Double value1, Double value2) {
            addCriterion("ity_ava_num between", value1, value2, "ityAvaNum");
            return (Criteria) this;
        }

        public Criteria andItyAvaNumNotBetween(Double value1, Double value2) {
            addCriterion("ity_ava_num not between", value1, value2, "ityAvaNum");
            return (Criteria) this;
        }

        public Criteria andItyUnitIsNull() {
            addCriterion("ity_unit is null");
            return (Criteria) this;
        }

        public Criteria andItyUnitIsNotNull() {
            addCriterion("ity_unit is not null");
            return (Criteria) this;
        }

        public Criteria andItyUnitEqualTo(String value) {
            addCriterion("ity_unit =", value, "ityUnit");
            return (Criteria) this;
        }

        public Criteria andItyUnitNotEqualTo(String value) {
            addCriterion("ity_unit <>", value, "ityUnit");
            return (Criteria) this;
        }

        public Criteria andItyUnitGreaterThan(String value) {
            addCriterion("ity_unit >", value, "ityUnit");
            return (Criteria) this;
        }

        public Criteria andItyUnitGreaterThanOrEqualTo(String value) {
            addCriterion("ity_unit >=", value, "ityUnit");
            return (Criteria) this;
        }

        public Criteria andItyUnitLessThan(String value) {
            addCriterion("ity_unit <", value, "ityUnit");
            return (Criteria) this;
        }

        public Criteria andItyUnitLessThanOrEqualTo(String value) {
            addCriterion("ity_unit <=", value, "ityUnit");
            return (Criteria) this;
        }

        public Criteria andItyUnitLike(String value) {
            addCriterion("ity_unit like", value, "ityUnit");
            return (Criteria) this;
        }

        public Criteria andItyUnitNotLike(String value) {
            addCriterion("ity_unit not like", value, "ityUnit");
            return (Criteria) this;
        }

        public Criteria andItyUnitIn(List<String> values) {
            addCriterion("ity_unit in", values, "ityUnit");
            return (Criteria) this;
        }

        public Criteria andItyUnitNotIn(List<String> values) {
            addCriterion("ity_unit not in", values, "ityUnit");
            return (Criteria) this;
        }

        public Criteria andItyUnitBetween(String value1, String value2) {
            addCriterion("ity_unit between", value1, value2, "ityUnit");
            return (Criteria) this;
        }

        public Criteria andItyUnitNotBetween(String value1, String value2) {
            addCriterion("ity_unit not between", value1, value2, "ityUnit");
            return (Criteria) this;
        }

        public Criteria andItyPriceIsNull() {
            addCriterion("ity_price is null");
            return (Criteria) this;
        }

        public Criteria andItyPriceIsNotNull() {
            addCriterion("ity_price is not null");
            return (Criteria) this;
        }

        public Criteria andItyPriceEqualTo(Double value) {
            addCriterion("ity_price =", value, "ityPrice");
            return (Criteria) this;
        }

        public Criteria andItyPriceNotEqualTo(Double value) {
            addCriterion("ity_price <>", value, "ityPrice");
            return (Criteria) this;
        }

        public Criteria andItyPriceGreaterThan(Double value) {
            addCriterion("ity_price >", value, "ityPrice");
            return (Criteria) this;
        }

        public Criteria andItyPriceGreaterThanOrEqualTo(Double value) {
            addCriterion("ity_price >=", value, "ityPrice");
            return (Criteria) this;
        }

        public Criteria andItyPriceLessThan(Double value) {
            addCriterion("ity_price <", value, "ityPrice");
            return (Criteria) this;
        }

        public Criteria andItyPriceLessThanOrEqualTo(Double value) {
            addCriterion("ity_price <=", value, "ityPrice");
            return (Criteria) this;
        }

        public Criteria andItyPriceIn(List<Double> values) {
            addCriterion("ity_price in", values, "ityPrice");
            return (Criteria) this;
        }

        public Criteria andItyPriceNotIn(List<Double> values) {
            addCriterion("ity_price not in", values, "ityPrice");
            return (Criteria) this;
        }

        public Criteria andItyPriceBetween(Double value1, Double value2) {
            addCriterion("ity_price between", value1, value2, "ityPrice");
            return (Criteria) this;
        }

        public Criteria andItyPriceNotBetween(Double value1, Double value2) {
            addCriterion("ity_price not between", value1, value2, "ityPrice");
            return (Criteria) this;
        }

        public Criteria andItyAmountIsNull() {
            addCriterion("ity_amount is null");
            return (Criteria) this;
        }

        public Criteria andItyAmountIsNotNull() {
            addCriterion("ity_amount is not null");
            return (Criteria) this;
        }

        public Criteria andItyAmountEqualTo(Double value) {
            addCriterion("ity_amount =", value, "ityAmount");
            return (Criteria) this;
        }

        public Criteria andItyAmountNotEqualTo(Double value) {
            addCriterion("ity_amount <>", value, "ityAmount");
            return (Criteria) this;
        }

        public Criteria andItyAmountGreaterThan(Double value) {
            addCriterion("ity_amount >", value, "ityAmount");
            return (Criteria) this;
        }

        public Criteria andItyAmountGreaterThanOrEqualTo(Double value) {
            addCriterion("ity_amount >=", value, "ityAmount");
            return (Criteria) this;
        }

        public Criteria andItyAmountLessThan(Double value) {
            addCriterion("ity_amount <", value, "ityAmount");
            return (Criteria) this;
        }

        public Criteria andItyAmountLessThanOrEqualTo(Double value) {
            addCriterion("ity_amount <=", value, "ityAmount");
            return (Criteria) this;
        }

        public Criteria andItyAmountIn(List<Double> values) {
            addCriterion("ity_amount in", values, "ityAmount");
            return (Criteria) this;
        }

        public Criteria andItyAmountNotIn(List<Double> values) {
            addCriterion("ity_amount not in", values, "ityAmount");
            return (Criteria) this;
        }

        public Criteria andItyAmountBetween(Double value1, Double value2) {
            addCriterion("ity_amount between", value1, value2, "ityAmount");
            return (Criteria) this;
        }

        public Criteria andItyAmountNotBetween(Double value1, Double value2) {
            addCriterion("ity_amount not between", value1, value2, "ityAmount");
            return (Criteria) this;
        }

        public Criteria andItyBrandIsNull() {
            addCriterion("ity_brand is null");
            return (Criteria) this;
        }

        public Criteria andItyBrandIsNotNull() {
            addCriterion("ity_brand is not null");
            return (Criteria) this;
        }

        public Criteria andItyBrandEqualTo(String value) {
            addCriterion("ity_brand =", value, "ityBrand");
            return (Criteria) this;
        }

        public Criteria andItyBrandNotEqualTo(String value) {
            addCriterion("ity_brand <>", value, "ityBrand");
            return (Criteria) this;
        }

        public Criteria andItyBrandGreaterThan(String value) {
            addCriterion("ity_brand >", value, "ityBrand");
            return (Criteria) this;
        }

        public Criteria andItyBrandGreaterThanOrEqualTo(String value) {
            addCriterion("ity_brand >=", value, "ityBrand");
            return (Criteria) this;
        }

        public Criteria andItyBrandLessThan(String value) {
            addCriterion("ity_brand <", value, "ityBrand");
            return (Criteria) this;
        }

        public Criteria andItyBrandLessThanOrEqualTo(String value) {
            addCriterion("ity_brand <=", value, "ityBrand");
            return (Criteria) this;
        }

        public Criteria andItyBrandLike(String value) {
            addCriterion("ity_brand like", value, "ityBrand");
            return (Criteria) this;
        }

        public Criteria andItyBrandNotLike(String value) {
            addCriterion("ity_brand not like", value, "ityBrand");
            return (Criteria) this;
        }

        public Criteria andItyBrandIn(List<String> values) {
            addCriterion("ity_brand in", values, "ityBrand");
            return (Criteria) this;
        }

        public Criteria andItyBrandNotIn(List<String> values) {
            addCriterion("ity_brand not in", values, "ityBrand");
            return (Criteria) this;
        }

        public Criteria andItyBrandBetween(String value1, String value2) {
            addCriterion("ity_brand between", value1, value2, "ityBrand");
            return (Criteria) this;
        }

        public Criteria andItyBrandNotBetween(String value1, String value2) {
            addCriterion("ity_brand not between", value1, value2, "ityBrand");
            return (Criteria) this;
        }

        public Criteria andItyPositionIsNull() {
            addCriterion("ity_position is null");
            return (Criteria) this;
        }

        public Criteria andItyPositionIsNotNull() {
            addCriterion("ity_position is not null");
            return (Criteria) this;
        }

        public Criteria andItyPositionEqualTo(String value) {
            addCriterion("ity_position =", value, "ityPosition");
            return (Criteria) this;
        }

        public Criteria andItyPositionNotEqualTo(String value) {
            addCriterion("ity_position <>", value, "ityPosition");
            return (Criteria) this;
        }

        public Criteria andItyPositionGreaterThan(String value) {
            addCriterion("ity_position >", value, "ityPosition");
            return (Criteria) this;
        }

        public Criteria andItyPositionGreaterThanOrEqualTo(String value) {
            addCriterion("ity_position >=", value, "ityPosition");
            return (Criteria) this;
        }

        public Criteria andItyPositionLessThan(String value) {
            addCriterion("ity_position <", value, "ityPosition");
            return (Criteria) this;
        }

        public Criteria andItyPositionLessThanOrEqualTo(String value) {
            addCriterion("ity_position <=", value, "ityPosition");
            return (Criteria) this;
        }

        public Criteria andItyPositionLike(String value) {
            addCriterion("ity_position like", value, "ityPosition");
            return (Criteria) this;
        }

        public Criteria andItyPositionNotLike(String value) {
            addCriterion("ity_position not like", value, "ityPosition");
            return (Criteria) this;
        }

        public Criteria andItyPositionIn(List<String> values) {
            addCriterion("ity_position in", values, "ityPosition");
            return (Criteria) this;
        }

        public Criteria andItyPositionNotIn(List<String> values) {
            addCriterion("ity_position not in", values, "ityPosition");
            return (Criteria) this;
        }

        public Criteria andItyPositionBetween(String value1, String value2) {
            addCriterion("ity_position between", value1, value2, "ityPosition");
            return (Criteria) this;
        }

        public Criteria andItyPositionNotBetween(String value1, String value2) {
            addCriterion("ity_position not between", value1, value2, "ityPosition");
            return (Criteria) this;
        }

        public Criteria andItySapCodeIsNull() {
            addCriterion("ity_sap_code is null");
            return (Criteria) this;
        }

        public Criteria andItySapCodeIsNotNull() {
            addCriterion("ity_sap_code is not null");
            return (Criteria) this;
        }

        public Criteria andItySapCodeEqualTo(String value) {
            addCriterion("ity_sap_code =", value, "itySapCode");
            return (Criteria) this;
        }

        public Criteria andItySapCodeNotEqualTo(String value) {
            addCriterion("ity_sap_code <>", value, "itySapCode");
            return (Criteria) this;
        }

        public Criteria andItySapCodeGreaterThan(String value) {
            addCriterion("ity_sap_code >", value, "itySapCode");
            return (Criteria) this;
        }

        public Criteria andItySapCodeGreaterThanOrEqualTo(String value) {
            addCriterion("ity_sap_code >=", value, "itySapCode");
            return (Criteria) this;
        }

        public Criteria andItySapCodeLessThan(String value) {
            addCriterion("ity_sap_code <", value, "itySapCode");
            return (Criteria) this;
        }

        public Criteria andItySapCodeLessThanOrEqualTo(String value) {
            addCriterion("ity_sap_code <=", value, "itySapCode");
            return (Criteria) this;
        }

        public Criteria andItySapCodeLike(String value) {
            addCriterion("ity_sap_code like", value, "itySapCode");
            return (Criteria) this;
        }

        public Criteria andItySapCodeNotLike(String value) {
            addCriterion("ity_sap_code not like", value, "itySapCode");
            return (Criteria) this;
        }

        public Criteria andItySapCodeIn(List<String> values) {
            addCriterion("ity_sap_code in", values, "itySapCode");
            return (Criteria) this;
        }

        public Criteria andItySapCodeNotIn(List<String> values) {
            addCriterion("ity_sap_code not in", values, "itySapCode");
            return (Criteria) this;
        }

        public Criteria andItySapCodeBetween(String value1, String value2) {
            addCriterion("ity_sap_code between", value1, value2, "itySapCode");
            return (Criteria) this;
        }

        public Criteria andItySapCodeNotBetween(String value1, String value2) {
            addCriterion("ity_sap_code not between", value1, value2, "itySapCode");
            return (Criteria) this;
        }

        public Criteria andItyRemarkIsNull() {
            addCriterion("ity_remark is null");
            return (Criteria) this;
        }

        public Criteria andItyRemarkIsNotNull() {
            addCriterion("ity_remark is not null");
            return (Criteria) this;
        }

        public Criteria andItyRemarkEqualTo(String value) {
            addCriterion("ity_remark =", value, "ityRemark");
            return (Criteria) this;
        }

        public Criteria andItyRemarkNotEqualTo(String value) {
            addCriterion("ity_remark <>", value, "ityRemark");
            return (Criteria) this;
        }

        public Criteria andItyRemarkGreaterThan(String value) {
            addCriterion("ity_remark >", value, "ityRemark");
            return (Criteria) this;
        }

        public Criteria andItyRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("ity_remark >=", value, "ityRemark");
            return (Criteria) this;
        }

        public Criteria andItyRemarkLessThan(String value) {
            addCriterion("ity_remark <", value, "ityRemark");
            return (Criteria) this;
        }

        public Criteria andItyRemarkLessThanOrEqualTo(String value) {
            addCriterion("ity_remark <=", value, "ityRemark");
            return (Criteria) this;
        }

        public Criteria andItyRemarkLike(String value) {
            addCriterion("ity_remark like", value, "ityRemark");
            return (Criteria) this;
        }

        public Criteria andItyRemarkNotLike(String value) {
            addCriterion("ity_remark not like", value, "ityRemark");
            return (Criteria) this;
        }

        public Criteria andItyRemarkIn(List<String> values) {
            addCriterion("ity_remark in", values, "ityRemark");
            return (Criteria) this;
        }

        public Criteria andItyRemarkNotIn(List<String> values) {
            addCriterion("ity_remark not in", values, "ityRemark");
            return (Criteria) this;
        }

        public Criteria andItyRemarkBetween(String value1, String value2) {
            addCriterion("ity_remark between", value1, value2, "ityRemark");
            return (Criteria) this;
        }

        public Criteria andItyRemarkNotBetween(String value1, String value2) {
            addCriterion("ity_remark not between", value1, value2, "ityRemark");
            return (Criteria) this;
        }

        public Criteria andItyDrawingNumberIsNull() {
            addCriterion("ity_drawing_number is null");
            return (Criteria) this;
        }

        public Criteria andItyDrawingNumberIsNotNull() {
            addCriterion("ity_drawing_number is not null");
            return (Criteria) this;
        }

        public Criteria andItyDrawingNumberEqualTo(String value) {
            addCriterion("ity_drawing_number =", value, "ityDrawingNumber");
            return (Criteria) this;
        }

        public Criteria andItyDrawingNumberNotEqualTo(String value) {
            addCriterion("ity_drawing_number <>", value, "ityDrawingNumber");
            return (Criteria) this;
        }

        public Criteria andItyDrawingNumberGreaterThan(String value) {
            addCriterion("ity_drawing_number >", value, "ityDrawingNumber");
            return (Criteria) this;
        }

        public Criteria andItyDrawingNumberGreaterThanOrEqualTo(String value) {
            addCriterion("ity_drawing_number >=", value, "ityDrawingNumber");
            return (Criteria) this;
        }

        public Criteria andItyDrawingNumberLessThan(String value) {
            addCriterion("ity_drawing_number <", value, "ityDrawingNumber");
            return (Criteria) this;
        }

        public Criteria andItyDrawingNumberLessThanOrEqualTo(String value) {
            addCriterion("ity_drawing_number <=", value, "ityDrawingNumber");
            return (Criteria) this;
        }

        public Criteria andItyDrawingNumberLike(String value) {
            addCriterion("ity_drawing_number like", value, "ityDrawingNumber");
            return (Criteria) this;
        }

        public Criteria andItyDrawingNumberNotLike(String value) {
            addCriterion("ity_drawing_number not like", value, "ityDrawingNumber");
            return (Criteria) this;
        }

        public Criteria andItyDrawingNumberIn(List<String> values) {
            addCriterion("ity_drawing_number in", values, "ityDrawingNumber");
            return (Criteria) this;
        }

        public Criteria andItyDrawingNumberNotIn(List<String> values) {
            addCriterion("ity_drawing_number not in", values, "ityDrawingNumber");
            return (Criteria) this;
        }

        public Criteria andItyDrawingNumberBetween(String value1, String value2) {
            addCriterion("ity_drawing_number between", value1, value2, "ityDrawingNumber");
            return (Criteria) this;
        }

        public Criteria andItyDrawingNumberNotBetween(String value1, String value2) {
            addCriterion("ity_drawing_number not between", value1, value2, "ityDrawingNumber");
            return (Criteria) this;
        }

        public Criteria andItyMakingPiecesStatusIsNull() {
            addCriterion("ity_making_pieces_status is null");
            return (Criteria) this;
        }

        public Criteria andItyMakingPiecesStatusIsNotNull() {
            addCriterion("ity_making_pieces_status is not null");
            return (Criteria) this;
        }

        public Criteria andItyMakingPiecesStatusEqualTo(String value) {
            addCriterion("ity_making_pieces_status =", value, "ityMakingPiecesStatus");
            return (Criteria) this;
        }

        public Criteria andItyMakingPiecesStatusNotEqualTo(String value) {
            addCriterion("ity_making_pieces_status <>", value, "ityMakingPiecesStatus");
            return (Criteria) this;
        }

        public Criteria andItyMakingPiecesStatusGreaterThan(String value) {
            addCriterion("ity_making_pieces_status >", value, "ityMakingPiecesStatus");
            return (Criteria) this;
        }

        public Criteria andItyMakingPiecesStatusGreaterThanOrEqualTo(String value) {
            addCriterion("ity_making_pieces_status >=", value, "ityMakingPiecesStatus");
            return (Criteria) this;
        }

        public Criteria andItyMakingPiecesStatusLessThan(String value) {
            addCriterion("ity_making_pieces_status <", value, "ityMakingPiecesStatus");
            return (Criteria) this;
        }

        public Criteria andItyMakingPiecesStatusLessThanOrEqualTo(String value) {
            addCriterion("ity_making_pieces_status <=", value, "ityMakingPiecesStatus");
            return (Criteria) this;
        }

        public Criteria andItyMakingPiecesStatusLike(String value) {
            addCriterion("ity_making_pieces_status like", value, "ityMakingPiecesStatus");
            return (Criteria) this;
        }

        public Criteria andItyMakingPiecesStatusNotLike(String value) {
            addCriterion("ity_making_pieces_status not like", value, "ityMakingPiecesStatus");
            return (Criteria) this;
        }

        public Criteria andItyMakingPiecesStatusIn(List<String> values) {
            addCriterion("ity_making_pieces_status in", values, "ityMakingPiecesStatus");
            return (Criteria) this;
        }

        public Criteria andItyMakingPiecesStatusNotIn(List<String> values) {
            addCriterion("ity_making_pieces_status not in", values, "ityMakingPiecesStatus");
            return (Criteria) this;
        }

        public Criteria andItyMakingPiecesStatusBetween(String value1, String value2) {
            addCriterion("ity_making_pieces_status between", value1, value2, "ityMakingPiecesStatus");
            return (Criteria) this;
        }

        public Criteria andItyMakingPiecesStatusNotBetween(String value1, String value2) {
            addCriterion("ity_making_pieces_status not between", value1, value2, "ityMakingPiecesStatus");
            return (Criteria) this;
        }

        public Criteria andItyIfFinishedProductIsNull() {
            addCriterion("ity_if_finished_product is null");
            return (Criteria) this;
        }

        public Criteria andItyIfFinishedProductIsNotNull() {
            addCriterion("ity_if_finished_product is not null");
            return (Criteria) this;
        }

        public Criteria andItyIfFinishedProductEqualTo(Integer value) {
            addCriterion("ity_if_finished_product =", value, "ityIfFinishedProduct");
            return (Criteria) this;
        }

        public Criteria andItyIfFinishedProductNotEqualTo(Integer value) {
            addCriterion("ity_if_finished_product <>", value, "ityIfFinishedProduct");
            return (Criteria) this;
        }

        public Criteria andItyIfFinishedProductGreaterThan(Integer value) {
            addCriterion("ity_if_finished_product >", value, "ityIfFinishedProduct");
            return (Criteria) this;
        }

        public Criteria andItyIfFinishedProductGreaterThanOrEqualTo(Integer value) {
            addCriterion("ity_if_finished_product >=", value, "ityIfFinishedProduct");
            return (Criteria) this;
        }

        public Criteria andItyIfFinishedProductLessThan(Integer value) {
            addCriterion("ity_if_finished_product <", value, "ityIfFinishedProduct");
            return (Criteria) this;
        }

        public Criteria andItyIfFinishedProductLessThanOrEqualTo(Integer value) {
            addCriterion("ity_if_finished_product <=", value, "ityIfFinishedProduct");
            return (Criteria) this;
        }

        public Criteria andItyIfFinishedProductIn(List<Integer> values) {
            addCriterion("ity_if_finished_product in", values, "ityIfFinishedProduct");
            return (Criteria) this;
        }

        public Criteria andItyIfFinishedProductNotIn(List<Integer> values) {
            addCriterion("ity_if_finished_product not in", values, "ityIfFinishedProduct");
            return (Criteria) this;
        }

        public Criteria andItyIfFinishedProductBetween(Integer value1, Integer value2) {
            addCriterion("ity_if_finished_product between", value1, value2, "ityIfFinishedProduct");
            return (Criteria) this;
        }

        public Criteria andItyIfFinishedProductNotBetween(Integer value1, Integer value2) {
            addCriterion("ity_if_finished_product not between", value1, value2, "ityIfFinishedProduct");
            return (Criteria) this;
        }

        public Criteria andItyMatTypeIsNull() {
            addCriterion("ity_mat_type is null");
            return (Criteria) this;
        }

        public Criteria andItyMatTypeIsNotNull() {
            addCriterion("ity_mat_type is not null");
            return (Criteria) this;
        }

        public Criteria andItyMatTypeEqualTo(Integer value) {
            addCriterion("ity_mat_type =", value, "ityMatType");
            return (Criteria) this;
        }

        public Criteria andItyMatTypeNotEqualTo(Integer value) {
            addCriterion("ity_mat_type <>", value, "ityMatType");
            return (Criteria) this;
        }

        public Criteria andItyMatTypeGreaterThan(Integer value) {
            addCriterion("ity_mat_type >", value, "ityMatType");
            return (Criteria) this;
        }

        public Criteria andItyMatTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("ity_mat_type >=", value, "ityMatType");
            return (Criteria) this;
        }

        public Criteria andItyMatTypeLessThan(Integer value) {
            addCriterion("ity_mat_type <", value, "ityMatType");
            return (Criteria) this;
        }

        public Criteria andItyMatTypeLessThanOrEqualTo(Integer value) {
            addCriterion("ity_mat_type <=", value, "ityMatType");
            return (Criteria) this;
        }

        public Criteria andItyMatTypeIn(List<Integer> values) {
            addCriterion("ity_mat_type in", values, "ityMatType");
            return (Criteria) this;
        }

        public Criteria andItyMatTypeNotIn(List<Integer> values) {
            addCriterion("ity_mat_type not in", values, "ityMatType");
            return (Criteria) this;
        }

        public Criteria andItyMatTypeBetween(Integer value1, Integer value2) {
            addCriterion("ity_mat_type between", value1, value2, "ityMatType");
            return (Criteria) this;
        }

        public Criteria andItyMatTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("ity_mat_type not between", value1, value2, "ityMatType");
            return (Criteria) this;
        }

        public Criteria andItyRowNoIsNull() {
            addCriterion("ity_row_no is null");
            return (Criteria) this;
        }

        public Criteria andItyRowNoIsNotNull() {
            addCriterion("ity_row_no is not null");
            return (Criteria) this;
        }

        public Criteria andItyRowNoEqualTo(Integer value) {
            addCriterion("ity_row_no =", value, "ityRowNo");
            return (Criteria) this;
        }

        public Criteria andItyRowNoNotEqualTo(Integer value) {
            addCriterion("ity_row_no <>", value, "ityRowNo");
            return (Criteria) this;
        }

        public Criteria andItyRowNoGreaterThan(Integer value) {
            addCriterion("ity_row_no >", value, "ityRowNo");
            return (Criteria) this;
        }

        public Criteria andItyRowNoGreaterThanOrEqualTo(Integer value) {
            addCriterion("ity_row_no >=", value, "ityRowNo");
            return (Criteria) this;
        }

        public Criteria andItyRowNoLessThan(Integer value) {
            addCriterion("ity_row_no <", value, "ityRowNo");
            return (Criteria) this;
        }

        public Criteria andItyRowNoLessThanOrEqualTo(Integer value) {
            addCriterion("ity_row_no <=", value, "ityRowNo");
            return (Criteria) this;
        }

        public Criteria andItyRowNoIn(List<Integer> values) {
            addCriterion("ity_row_no in", values, "ityRowNo");
            return (Criteria) this;
        }

        public Criteria andItyRowNoNotIn(List<Integer> values) {
            addCriterion("ity_row_no not in", values, "ityRowNo");
            return (Criteria) this;
        }

        public Criteria andItyRowNoBetween(Integer value1, Integer value2) {
            addCriterion("ity_row_no between", value1, value2, "ityRowNo");
            return (Criteria) this;
        }

        public Criteria andItyRowNoNotBetween(Integer value1, Integer value2) {
            addCriterion("ity_row_no not between", value1, value2, "ityRowNo");
            return (Criteria) this;
        }

        public Criteria andItyDataStatusIsNull() {
            addCriterion("ity_data_status is null");
            return (Criteria) this;
        }

        public Criteria andItyDataStatusIsNotNull() {
            addCriterion("ity_data_status is not null");
            return (Criteria) this;
        }

        public Criteria andItyDataStatusEqualTo(Integer value) {
            addCriterion("ity_data_status =", value, "ityDataStatus");
            return (Criteria) this;
        }

        public Criteria andItyDataStatusNotEqualTo(Integer value) {
            addCriterion("ity_data_status <>", value, "ityDataStatus");
            return (Criteria) this;
        }

        public Criteria andItyDataStatusGreaterThan(Integer value) {
            addCriterion("ity_data_status >", value, "ityDataStatus");
            return (Criteria) this;
        }

        public Criteria andItyDataStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("ity_data_status >=", value, "ityDataStatus");
            return (Criteria) this;
        }

        public Criteria andItyDataStatusLessThan(Integer value) {
            addCriterion("ity_data_status <", value, "ityDataStatus");
            return (Criteria) this;
        }

        public Criteria andItyDataStatusLessThanOrEqualTo(Integer value) {
            addCriterion("ity_data_status <=", value, "ityDataStatus");
            return (Criteria) this;
        }

        public Criteria andItyDataStatusIn(List<Integer> values) {
            addCriterion("ity_data_status in", values, "ityDataStatus");
            return (Criteria) this;
        }

        public Criteria andItyDataStatusNotIn(List<Integer> values) {
            addCriterion("ity_data_status not in", values, "ityDataStatus");
            return (Criteria) this;
        }

        public Criteria andItyDataStatusBetween(Integer value1, Integer value2) {
            addCriterion("ity_data_status between", value1, value2, "ityDataStatus");
            return (Criteria) this;
        }

        public Criteria andItyDataStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("ity_data_status not between", value1, value2, "ityDataStatus");
            return (Criteria) this;
        }

        public Criteria andItyWhiIdIsNull() {
            addCriterion("ity_whi_id is null");
            return (Criteria) this;
        }

        public Criteria andItyWhiIdIsNotNull() {
            addCriterion("ity_whi_id is not null");
            return (Criteria) this;
        }

        public Criteria andItyWhiIdEqualTo(Integer value) {
            addCriterion("ity_whi_id =", value, "ityWhiId");
            return (Criteria) this;
        }

        public Criteria andItyWhiIdNotEqualTo(Integer value) {
            addCriterion("ity_whi_id <>", value, "ityWhiId");
            return (Criteria) this;
        }

        public Criteria andItyWhiIdGreaterThan(Integer value) {
            addCriterion("ity_whi_id >", value, "ityWhiId");
            return (Criteria) this;
        }

        public Criteria andItyWhiIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("ity_whi_id >=", value, "ityWhiId");
            return (Criteria) this;
        }

        public Criteria andItyWhiIdLessThan(Integer value) {
            addCriterion("ity_whi_id <", value, "ityWhiId");
            return (Criteria) this;
        }

        public Criteria andItyWhiIdLessThanOrEqualTo(Integer value) {
            addCriterion("ity_whi_id <=", value, "ityWhiId");
            return (Criteria) this;
        }

        public Criteria andItyWhiIdIn(List<Integer> values) {
            addCriterion("ity_whi_id in", values, "ityWhiId");
            return (Criteria) this;
        }

        public Criteria andItyWhiIdNotIn(List<Integer> values) {
            addCriterion("ity_whi_id not in", values, "ityWhiId");
            return (Criteria) this;
        }

        public Criteria andItyWhiIdBetween(Integer value1, Integer value2) {
            addCriterion("ity_whi_id between", value1, value2, "ityWhiId");
            return (Criteria) this;
        }

        public Criteria andItyWhiIdNotBetween(Integer value1, Integer value2) {
            addCriterion("ity_whi_id not between", value1, value2, "ityWhiId");
            return (Criteria) this;
        }

        public Criteria andItyTrackCodeIsNull() {
            addCriterion("ity_track_code is null");
            return (Criteria) this;
        }

        public Criteria andItyTrackCodeIsNotNull() {
            addCriterion("ity_track_code is not null");
            return (Criteria) this;
        }

        public Criteria andItyTrackCodeEqualTo(String value) {
            addCriterion("ity_track_code =", value, "ityTrackCode");
            return (Criteria) this;
        }

        public Criteria andItyTrackCodeNotEqualTo(String value) {
            addCriterion("ity_track_code <>", value, "ityTrackCode");
            return (Criteria) this;
        }

        public Criteria andItyTrackCodeGreaterThan(String value) {
            addCriterion("ity_track_code >", value, "ityTrackCode");
            return (Criteria) this;
        }

        public Criteria andItyTrackCodeGreaterThanOrEqualTo(String value) {
            addCriterion("ity_track_code >=", value, "ityTrackCode");
            return (Criteria) this;
        }

        public Criteria andItyTrackCodeLessThan(String value) {
            addCriterion("ity_track_code <", value, "ityTrackCode");
            return (Criteria) this;
        }

        public Criteria andItyTrackCodeLessThanOrEqualTo(String value) {
            addCriterion("ity_track_code <=", value, "ityTrackCode");
            return (Criteria) this;
        }

        public Criteria andItyTrackCodeLike(String value) {
            addCriterion("ity_track_code like", value, "ityTrackCode");
            return (Criteria) this;
        }

        public Criteria andItyTrackCodeNotLike(String value) {
            addCriterion("ity_track_code not like", value, "ityTrackCode");
            return (Criteria) this;
        }

        public Criteria andItyTrackCodeIn(List<String> values) {
            addCriterion("ity_track_code in", values, "ityTrackCode");
            return (Criteria) this;
        }

        public Criteria andItyTrackCodeNotIn(List<String> values) {
            addCriterion("ity_track_code not in", values, "ityTrackCode");
            return (Criteria) this;
        }

        public Criteria andItyTrackCodeBetween(String value1, String value2) {
            addCriterion("ity_track_code between", value1, value2, "ityTrackCode");
            return (Criteria) this;
        }

        public Criteria andItyTrackCodeNotBetween(String value1, String value2) {
            addCriterion("ity_track_code not between", value1, value2, "ityTrackCode");
            return (Criteria) this;
        }

        public Criteria andItyCaseNoIsNull() {
            addCriterion("ity_case_no is null");
            return (Criteria) this;
        }

        public Criteria andItyCaseNoIsNotNull() {
            addCriterion("ity_case_no is not null");
            return (Criteria) this;
        }

        public Criteria andItyCaseNoEqualTo(String value) {
            addCriterion("ity_case_no =", value, "ityCaseNo");
            return (Criteria) this;
        }

        public Criteria andItyCaseNoNotEqualTo(String value) {
            addCriterion("ity_case_no <>", value, "ityCaseNo");
            return (Criteria) this;
        }

        public Criteria andItyCaseNoGreaterThan(String value) {
            addCriterion("ity_case_no >", value, "ityCaseNo");
            return (Criteria) this;
        }

        public Criteria andItyCaseNoGreaterThanOrEqualTo(String value) {
            addCriterion("ity_case_no >=", value, "ityCaseNo");
            return (Criteria) this;
        }

        public Criteria andItyCaseNoLessThan(String value) {
            addCriterion("ity_case_no <", value, "ityCaseNo");
            return (Criteria) this;
        }

        public Criteria andItyCaseNoLessThanOrEqualTo(String value) {
            addCriterion("ity_case_no <=", value, "ityCaseNo");
            return (Criteria) this;
        }

        public Criteria andItyCaseNoLike(String value) {
            addCriterion("ity_case_no like", value, "ityCaseNo");
            return (Criteria) this;
        }

        public Criteria andItyCaseNoNotLike(String value) {
            addCriterion("ity_case_no not like", value, "ityCaseNo");
            return (Criteria) this;
        }

        public Criteria andItyCaseNoIn(List<String> values) {
            addCriterion("ity_case_no in", values, "ityCaseNo");
            return (Criteria) this;
        }

        public Criteria andItyCaseNoNotIn(List<String> values) {
            addCriterion("ity_case_no not in", values, "ityCaseNo");
            return (Criteria) this;
        }

        public Criteria andItyCaseNoBetween(String value1, String value2) {
            addCriterion("ity_case_no between", value1, value2, "ityCaseNo");
            return (Criteria) this;
        }

        public Criteria andItyCaseNoNotBetween(String value1, String value2) {
            addCriterion("ity_case_no not between", value1, value2, "ityCaseNo");
            return (Criteria) this;
        }

        public Criteria andItyBoxingDateIsNull() {
            addCriterion("ity_boxing_date is null");
            return (Criteria) this;
        }

        public Criteria andItyBoxingDateIsNotNull() {
            addCriterion("ity_boxing_date is not null");
            return (Criteria) this;
        }

        public Criteria andItyBoxingDateEqualTo(Date value) {
            addCriterion("ity_boxing_date =", value, "ityBoxingDate");
            return (Criteria) this;
        }

        public Criteria andItyBoxingDateNotEqualTo(Date value) {
            addCriterion("ity_boxing_date <>", value, "ityBoxingDate");
            return (Criteria) this;
        }

        public Criteria andItyBoxingDateGreaterThan(Date value) {
            addCriterion("ity_boxing_date >", value, "ityBoxingDate");
            return (Criteria) this;
        }

        public Criteria andItyBoxingDateGreaterThanOrEqualTo(Date value) {
            addCriterion("ity_boxing_date >=", value, "ityBoxingDate");
            return (Criteria) this;
        }

        public Criteria andItyBoxingDateLessThan(Date value) {
            addCriterion("ity_boxing_date <", value, "ityBoxingDate");
            return (Criteria) this;
        }

        public Criteria andItyBoxingDateLessThanOrEqualTo(Date value) {
            addCriterion("ity_boxing_date <=", value, "ityBoxingDate");
            return (Criteria) this;
        }

        public Criteria andItyBoxingDateIn(List<Date> values) {
            addCriterion("ity_boxing_date in", values, "ityBoxingDate");
            return (Criteria) this;
        }

        public Criteria andItyBoxingDateNotIn(List<Date> values) {
            addCriterion("ity_boxing_date not in", values, "ityBoxingDate");
            return (Criteria) this;
        }

        public Criteria andItyBoxingDateBetween(Date value1, Date value2) {
            addCriterion("ity_boxing_date between", value1, value2, "ityBoxingDate");
            return (Criteria) this;
        }

        public Criteria andItyBoxingDateNotBetween(Date value1, Date value2) {
            addCriterion("ity_boxing_date not between", value1, value2, "ityBoxingDate");
            return (Criteria) this;
        }

        public Criteria andItyStockTypeIsNull() {
            addCriterion("ity_stock_type is null");
            return (Criteria) this;
        }

        public Criteria andItyStockTypeIsNotNull() {
            addCriterion("ity_stock_type is not null");
            return (Criteria) this;
        }

        public Criteria andItyStockTypeEqualTo(Integer value) {
            addCriterion("ity_stock_type =", value, "ityStockType");
            return (Criteria) this;
        }

        public Criteria andItyStockTypeNotEqualTo(Integer value) {
            addCriterion("ity_stock_type <>", value, "ityStockType");
            return (Criteria) this;
        }

        public Criteria andItyStockTypeGreaterThan(Integer value) {
            addCriterion("ity_stock_type >", value, "ityStockType");
            return (Criteria) this;
        }

        public Criteria andItyStockTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("ity_stock_type >=", value, "ityStockType");
            return (Criteria) this;
        }

        public Criteria andItyStockTypeLessThan(Integer value) {
            addCriterion("ity_stock_type <", value, "ityStockType");
            return (Criteria) this;
        }

        public Criteria andItyStockTypeLessThanOrEqualTo(Integer value) {
            addCriterion("ity_stock_type <=", value, "ityStockType");
            return (Criteria) this;
        }

        public Criteria andItyStockTypeIn(List<Integer> values) {
            addCriterion("ity_stock_type in", values, "ityStockType");
            return (Criteria) this;
        }

        public Criteria andItyStockTypeNotIn(List<Integer> values) {
            addCriterion("ity_stock_type not in", values, "ityStockType");
            return (Criteria) this;
        }

        public Criteria andItyStockTypeBetween(Integer value1, Integer value2) {
            addCriterion("ity_stock_type between", value1, value2, "ityStockType");
            return (Criteria) this;
        }

        public Criteria andItyStockTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("ity_stock_type not between", value1, value2, "ityStockType");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}